package org.jumiz.db;

import java.sql.*;

public final class DocDBOnLineUtilZ {
	
	private static String absPath = null;

	public static DbConfig config;

	public static Connection getConnection() {
		try {
			Class.forName(config.getDriverClass());
			return DriverManager.getConnection(config.getUrl());
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}
}
